package com.eversec.msg.model;

import java.util.Date;

public class UserModel {
    private Integer id;

    private String name;

    private String password;

    private String role;

    private String company;

    private String email;

    private Integer locked;

    private Integer areanumber;

    private Date passwordsetdate;

    private Date passwordexpiredate;

    private String passwordmemory;

    private Date createdate;

    public UserModel(Integer id, String name, String password, String role, String company, String email, Integer locked, Integer areanumber, Date passwordsetdate, Date passwordexpiredate, String passwordmemory, Date createdate) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.role = role;
        this.company = company;
        this.email = email;
        this.locked = locked;
        this.areanumber = areanumber;
        this.passwordsetdate = passwordsetdate;
        this.passwordexpiredate = passwordexpiredate;
        this.passwordmemory = passwordmemory;
        this.createdate = createdate;
    }

    public UserModel() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role == null ? null : role.trim();
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Integer getLocked() {
        return locked;
    }

    public void setLocked(Integer locked) {
        this.locked = locked;
    }

    public Integer getAreanumber() {
        return areanumber;
    }

    public void setAreanumber(Integer areanumber) {
        this.areanumber = areanumber;
    }

    public Date getPasswordsetdate() {
        return passwordsetdate;
    }

    public void setPasswordsetdate(Date passwordsetdate) {
        this.passwordsetdate = passwordsetdate;
    }

    public Date getPasswordexpiredate() {
        return passwordexpiredate;
    }

    public void setPasswordexpiredate(Date passwordexpiredate) {
        this.passwordexpiredate = passwordexpiredate;
    }

    public String getPasswordmemory() {
        return passwordmemory;
    }

    public void setPasswordmemory(String passwordmemory) {
        this.passwordmemory = passwordmemory == null ? null : passwordmemory.trim();
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }
}